Automattic\WooCommerce\GoogleListingsAndAds\API\Site\Controllers\MerchantCenter\AccountController A

Total Complexity 65
Dependencies 14
Dependents 1
Total lines 632
Lines of code 389
Logical lines of code 185
Comment lines 162
Methods 19
Properties 7

Methods 19

Method Rating Maintainability Complexity Lines of code
setup_merchant_account()
B
36 18 84
set_account_id()
A
50 8 28
verify_site()
S
47 6 38
maybe_add_merchant_center_website_url()
S
47 6 35
register_routes()
S
43 1 68
use_existing_account_id()
S
55 4 19
switch_url_callback()
S
58 4 14
get_accounts_callback()
S
59 3 15
overwrite_claim_callback()
S
58 3 14
prepare_error_response()
S
68 3 7
get_schema_properties()
S
58 1 17
get_time_to_wait_response()
S
63 1 12
__construct()
S
66 1 8
get_schema_title()
S
82 1 3
disconnect_merchant_callback()
S
66 1 9
get_setup_merchant_callback()
S
76 1 5
get_connected_merchant_callback()
S
76 1 5
set_account_id_callback()
S
75 1 5
strip_url_protocol()
S
78 1 3